package com.cn.demo.decorator;

/**
 * 描述
 *
 * @author wangjf
 * @version 1.0
 * @createDate 2020/1/7 15:02
 * @projectName demo
 */
public abstract class Decorator implements IComponent{

    private IComponent component;

    public Decorator(IComponent component){

        this.component = component;
    }

    @Override
    public void operation() {
        this.component.operation();
    }

    public abstract void opr();
}
